//
// Created by 李传智 on 2018/4/14.
//

#ifndef ANDSDK_IRESAMPLE_H
#define ANDSDK_IRESAMPLE_H


#include "IObserver.h"
#include "CodecParameter.h"

class IResample : public IObserver {

public:

    virtual bool open(CodecParameter in, CodecParameter out = CodecParameter()) = 0;

    virtual void close() = 0;

    virtual VideoData resample(VideoData videoData) = 0;

    virtual void update(VideoData videoData);

protected:

    // 输出的参数
    CodecParameter outParameter;
};


#endif //ANDSDK_IRESAMPLE_H
